package com.mzj.saas.mservice.propertybill.repository;

import com.mzj.saas.mservice.propertybill.entity.HouseOfflinePaymentDetails;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

public interface HouseOfflinePaymentDetailsRepository extends PagingAndSortingRepository<HouseOfflinePaymentDetails, Long>, JpaSpecificationExecutor<HouseOfflinePaymentDetails>, JpaRepository<HouseOfflinePaymentDetails, Long> {
    List<HouseOfflinePaymentDetails> findByIdIn(List<Long> ids);
    List<HouseOfflinePaymentDetails> findByRemainingIdAndStatusAndAccountType(Long remId,Integer status,Integer accountType);
}
